import QtQuick
import QtQuick.Controls
import QtQuick.Layouts

Window {
    width: 640
    height: 480
    visible: true
    title: qsTr("Hello World")

    Frame {
        anchors.centerIn: parent
        width: 160
        height: 120
        background: Rectangle { color: "lightgray" }

        ColumnLayout {
            anchors.centerIn: parent

            Text {
                text: "this is button 1"
                Layout.fillWidth: true
            }

            Button {
                text: "button 1"
                Layout.fillWidth: true
            }
        }
    }

}
